X11: Fix the cut-off for too large windows
authorMatthias Clasen <mclasen@redhat.com>
Tue, 30 Jul 2013 00:51:39 +0000 (20:51 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Jul 2013 00:51:39 +0000 (20:51 -0400)
commit77a20871ff765f3e4e71a7467475d06b43e7d621
tree6762732eca210a7f827b5a0161eb47b933a1deeb
parent9232899c6915888df1ec8f41ac8e8300641c4fd2
X11: Fix the cut-off for too large windows

We can only handle 2^15-1 pixels, not 2^16-1.
Pointed out by Morten Welinder.

https://bugzilla.gnome.org/show_bug.cgi?id=698758
gdk/x11/gdkwindow-x11.c